<?php

namespace Modules\Ui\Traits;

trait Makenable
{
    protected static $instance;

    /**
     * @param callable|array|string ...$arguments
     * @return array|array[]|mixed|string[]
     */
    public static function make(...$arguments){
        self::$instance = new self(...$arguments);
        return self::$instance->render();
    }
}
